import myaxios from "../MyAxios";
import BASEURL from "../BaseUrl"

const TCHYURL = BASEURL.TCHYURL
const contractManagementApi = {
    //合同列表
    getCargoOwnerContractList(params) {
        let url = TCHYURL + '/supplier/contract/list'
        return myaxios.get(url, params)
    },
    // 合同详情
    getSupplierContractDetails(params) {
        let url = TCHYURL + '/supplier/contract/detail'
        return myaxios.get(url, params)
    },

    //编辑/新增供应商合同
    editSupplierContractInfo(params) {
        let url = TCHYURL + '/account/contract/supplier/edit'
        return myaxios.post(url, params)
    },
}
export default contractManagementApi;